package com.jr9z.jrjz.dao;

import com.jr9z.jrjz.entity.TeamMember;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeamMemberMapper {
    int deleteByPrimaryKey(Integer menberId);

    int insert(TeamMember record);

    int insertSelective(TeamMember record);

    TeamMember selectByPrimaryKey(Integer menberId);

    int updateByPrimaryKeySelective(TeamMember record);

    int updateByPrimaryKey(TeamMember record);

    /**
     * @Description:获取成员总数
     * @date: 17:18 2019-3-26
     * @param:
     * @return: long
     */
    long getMemberCount();

    /**
     * @Description:查询成员信息（分页）
     * @date: 17:21 2019-3-26
     * @param:
     * @return: java.util.List<com.jr9z.jrjz.entity.TeamMember>
     */
    List<TeamMember> getAllMember();
}